package com.quanquan.user.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 功能描述: 消费记录实体
 *
 * @ClassName: SelfHelpIntegral
 * @Author: xiaoqianh丶
 * @Date: 2019-05-9 17:48
 * @Version: V1.0
 */
@Data
@Entity
@Table(name = "oo_consumption_amount")
public class ConsumptionAmount implements Serializable {

    /**
     * 主键
     */
    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    /**
     * 创建时间
     */
    @Column(name = "create_time", nullable = false, length = 32)
    private String createTime;


    /**
     * 小票号
     */
    @Column(name = "ticket_num",nullable = false,length = 64)
    private String ticketNum;

    /**
     * 金额
     */
    @Column(name = "money",length = 32)
    private String money;

    /**
     * 商户id
     */
    @Column(name = "store_id",length = 64)
    private String storeId;


    /**
     * 用户id
     */
    @Column(name = "user_id",length = 64)
    private String userId;

    /**
     * 消费日期
     */
    @Column(name = "cosume_day",length = 64)
    private String consumeDay;


    /**
     * 用户手机号
     */
    @Column(name = "phone",length = 32)
    private String phone;


    /**
     * 消费类型
     **/
    @Column(name = "consume_type",length = 32)
    private String consumeType;





}
